|
| Find path to file
Set CPUClock$Dir <Obey$Dir>
|
|
IconSprites <CPUClock$Dir>.!Sprites
|
Run <CPUClock$Dir>.Resources.Resfind CPUClock
|
Set Alias$GetMod RMEnsure %%0 %%1 RMLoad System:Modules.%%0|MRMEnsure %%0 %%1 ERROR CPUClock needs %%0 %%1 or later
GetMod FPEmulator 4.03

RMEnsure SharedCLibrary 5.17 RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 5.34 Error This application requires SharedCLibrary 5.34 or later
|
Set Alias$GetTBox RMEnsure %%0 %%1 RMLoad System:Modules.Toolbox.%%0|MRMEnsure %%0 %%1 ERROR CPUClock needs %%0 %%1 or later

GetTBox Toolbox    1.36
GetTBox Window     1.31
GetTBox Menu       0.23
GetTBox Iconbar    1.11
GetTBox ProgInfo   0.05
Unset Alias$GetTBox
Unset Alias$GetMod

Unset CPUClock$Debug
|Activate debug by uncommenting the next line
|Set CPUClock$Debug 1

| Check memory allocation
WimpSlot -min 92K -max 92K
|WimpSlot -min 288K -max 288K
|
| Now start program
Run <CPUClock$Dir>.!RunImage
